#!/bin/sh
# Start fcron at boot time under Slackware
# 
# default configuration file is /etc/fcron.conf
#
#2014-08-04 R Narron  Create for SlackBuild 

case "$1" in
  start)
    echo "Starting fcron"
    /usr/sbin/fcron -b 
    ;;
  stop)
    echo "Stopping fcron"
    killall -TERM fcron
    ;;
  *)
    echo "Usage: fcron start|stop"
    exit 1
    ;;
esac
